package com.wwc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * RestTemplate Bean
 */
@Configuration
public class ApplicationContextConfig{
	@Bean
	// @LoadBalanced // 添加默认算法
	public RestTemplate getRestTemplate(){
		return new RestTemplate();
	}
}
